﻿using System;

namespace ErrorDumper.Processing {
    public class ExceptionProcessorContext {

        public ExceptionPropertyCollection Properties { get; private set; }
        public Exception Exception { get; private set; }
        public string Content { get; set; }
        public ExceptionHandlingLevel HandlingLevel { get; set; }

        public ExceptionProcessorContext(
            ExceptionPropertyCollection properties = null, Exception exception = null) {

            Properties = properties ?? new ExceptionPropertyCollection();
            Exception = exception;
        }
    }
}